home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 February: Tool Chest / Dev.CD Feb 99 TC.toast / What's New? / Development Kits / Mac OS USB v1.1f3 DDK / Examples / USBSampleStorageDriver / SampleStorageDeviceID.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-12-14  |  629 b   |  27 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        SampleStorageDeviceID.h
  3.  
  4.     Contains:    Vendor/Product Specific Defintions
  5.  
  6.     Version:    1.1
  7.  
  8.     Copyright:    © 1998 by Apple Computer, Inc., all rights reserved.
  9.  
  10. */
  11.  
  12. #ifndef __SAMPLESTORAGEDEVICEID__
  13. #define __SAMPLESTORAGEDEVICEID__
  14.  
  15. #include <USB.h>
  16.  
  17. // The values for the device that this driver is being built for
  18. // need to be enetered here before the driver will build
  19. enum
  20. {
  21.     kDriverVendorID         = Your vendor number,        // USB Vendor ID
  22.     kDriverProductID    = Your device number,        // USB Product ID.
  23.     kDriverClassID        = kUSBMassStorageClass, 
  24.     kDriverSubClassID    = Your device subclass
  25. };
  26.  
  27. #endif /* __SAMPLESTORAGEDEVICEID__ */